package com.qf.mapper;

import com.qf.pojo.Car;

import java.util.List;

public interface CarMapper {
    List<Car> findAllOrderByPrice(int cid);
    List<Car> findAllOrderByNumber(int cid);

    Car findOneCar(int cid);

    int add (Car car);

    int update (Car car);

    int delete (int id);

    List<Car> findAllCar();
}
